let Sequelize = require('sequelize')
const mysqlConfig = require('../config/mysql')

const SequelizeModel = new Sequelize(
  mysqlConfig.dbName,
  mysqlConfig.name,
  mysqlConfig.password,
  {
    host: mysqlConfig.host,
    port: mysqlConfig.port,
    dialect: mysqlConfig.dialect
  }
)

module.exports = SequelizeModel

